// XMLAttribute.h: interface for the XMLAttribute class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_XMLATTRIBUTE_H__4C304C91_5C96_4E0C_BB25_0A9D8F524258__INCLUDED_)
#define AFX_XMLATTRIBUTE_H__4C304C91_5C96_4E0C_BB25_0A9D8F524258__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "mystring.h"
class CXMLAttribute  
{
public:
	const mystring &GetName()const{return m_strName;};
	const mystring &GetValue()const{return m_strValue;};
	void SetName(const char *pname){m_strName = pname;};
	void SetValue(const char *pvalue){m_strValue = pvalue;};
	CXMLAttribute();
	CXMLAttribute(const char *pname,const char *pvalue){m_strName = pname;m_strValue = pvalue;};
	virtual ~CXMLAttribute();
private:
	mystring				m_strName;
	mystring				m_strValue;
};

#endif // !defined(AFX_XMLATTRIBUTE_H__4C304C91_5C96_4E0C_BB25_0A9D8F524258__INCLUDED_)
